package com.zan.pattern.decorator;

/**
 * @Author Zan
 * @Create 2024-04-25 23:21
 * @Description : 炒面类（具体构建角色）
 * @ClassName: FriedNoodles
 */
public class FriedNoodles extends FastFood {

    public FriedNoodles() {
        super(12, "炒面");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
